package com.lance.answer.gui.answer.gk.answer.lms.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class LmsModule {


    @JsonProperty("modules")
    private List<ModulesDTO> modules;

    @NoArgsConstructor
    @Data
    public static class ModulesDTO {
        @JsonProperty("id")
        private Long id;
        @JsonProperty("is_hidden")
        private Integer isHidden;
        @JsonProperty("name")
        private String name;
        @JsonProperty("sort")
        private Integer sort;
        @JsonProperty("sticky_time")
        private Object stickyTime;
        @JsonProperty("syllabuses")
        private List<?> syllabuses;
    }
}
